gtk4.git
10 years agoGtkDialog: Fix up docs
Matthias Clasen [Sun, 26 Apr 2015 15:54:02 +0000 (11:54 -0400)]
GtkDialog: Fix up docs

The ui fragment in the example was causing a critical
warning, which is not nice. Fix it to work properly.

10 years agodocs: Add an cross-reference to template docs
Matthias Clasen [Tue, 21 Apr 2015 12:12:58 +0000 (07:12 -0500)]
docs: Add an cross-reference to template docs

10 years agoGtkActionable: Fix small doc formatting issues
Matthias Clasen [Tue, 21 Apr 2015 12:07:51 +0000 (07:07 -0500)]
GtkActionable: Fix small doc formatting issues

10 years agoGtkApplicationWindow: Fix small doc formatting issues
Matthias Clasen [Tue, 21 Apr 2015 12:07:31 +0000 (07:07 -0500)]
GtkApplicationWindow: Fix small doc formatting issues

10 years agoGtkApplication: Fix some small doc formatting issues
Matthias Clasen [Mon, 20 Apr 2015 22:35:43 +0000 (18:35 -0400)]
GtkApplication: Fix some small doc formatting issues

10 years agogl area: Add a few missing docs
Matthias Clasen [Mon, 20 Apr 2015 21:52:48 +0000 (17:52 -0400)]
gl area: Add a few missing docs

10 years agodocs: Update list of ignored headers
Matthias Clasen [Mon, 20 Apr 2015 21:50:11 +0000 (17:50 -0400)]
docs: Update list of ignored headers

10 years agoUpdated Czech translation
Marek Černocký [Sat, 25 Apr 2015 11:12:25 +0000 (13:12 +0200)]
Updated Czech translation

10 years agoUpdated Czech translation
Marek Černocký [Sat, 25 Apr 2015 08:28:41 +0000 (10:28 +0200)]
Updated Czech translation

10 years agoUpdated Icelandic translation
Sveinn í Felli [Fri, 24 Apr 2015 14:21:49 +0000 (14:21 +0000)]
Updated Icelandic translation

10 years agoUpdated Icelandic translation
Sveinn í Felli [Fri, 24 Apr 2015 14:21:07 +0000 (14:21 +0000)]
Updated Icelandic translation

10 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Fri, 17 Apr 2015 15:29:37 +0000 (15:29 +0000)]
Updated Brazilian Portuguese translation

10 years agoAdwaita: fix selected backdrop list rows.
Lapo Calamandrei [Thu, 23 Apr 2015 20:45:23 +0000 (22:45 +0200)]
Adwaita: fix selected backdrop list rows.

A misplaced selector was making backdrop selected list rows vanish
on hover, fixed. Thanks to Florian for spotting.

10 years agowayland: Add support for gtk_window_set_modal
Jonas Ådahl [Fri, 6 Mar 2015 03:40:12 +0000 (11:40 +0800)]
wayland: Add support for gtk_window_set_modal

Add two new requests to the gtk_surface interface: set_modal and
unset_modal. The server will currently not do anything special with
input focus, and its up to the client to ignore events on the parent
surface.

This commit bumps the gtk_shell interface version to 2. By connecting to
a Wayland server with another gtk_shell interface version any features
depending on the gtk_shell protocol will not be available.

https://bugzilla.gnome.org/show_bug.cgi?id=745721

10 years agoAdwaita: entry: some sass refactoring.
Lapo Calamandrei [Wed, 22 Apr 2015 15:43:37 +0000 (17:43 +0200)]
Adwaita: entry: some sass refactoring.

10 years agoAdwaita: vertically linked entries fix.
Lapo Calamandrei [Wed, 22 Apr 2015 14:09:29 +0000 (16:09 +0200)]
Adwaita: vertically linked entries fix.

I was axing the edge hilight on the last linked entry which needs
to be there, fixed.

10 years agoAdwaita: .entry.error/.entry.warning dark variant love
Lapo Calamandrei [Wed, 22 Apr 2015 13:54:04 +0000 (15:54 +0200)]
Adwaita: .entry.error/.entry.warning dark variant love

10 years agoAdwaita: simplify entry vertical linking.
Lapo Calamandrei [Wed, 22 Apr 2015 12:42:58 +0000 (14:42 +0200)]
Adwaita: simplify entry vertical linking.

Now it should be "right" in basically every combination of entries
and buttons.

10 years agoGtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t
Kjell Ahlstedt [Tue, 21 Apr 2015 07:05:26 +0000 (09:05 +0200)]
GtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t

cairo_rectangle_int_t was replaced by GdkRectangle in commit
552c29b488ecd7bcc3303dd5514ce6dbfff04437, but the type of the pointing-to
property was not changed.

To avoid breaking old code that sets or gets the property with a GValue
of type CAIRO_GOBJECT_TYPE_RECTANGLE_INT, transformation functions between
CAIRO_GOBJECT_TYPE_RECTANGLE_INT and GDK_TYPE_RECTANGLE are registered on
the first call to gdk_rectangle_get_type().

https://bugzilla.gnome.org/show_bug.cgi?id=723394

10 years agoUpdated Ukrainian translation
Daniel Korostil [Mon, 20 Apr 2015 18:10:03 +0000 (21:10 +0300)]
Updated Ukrainian translation

10 years agoAdwaita: simplify entries.
Lapo Calamandrei [Mon, 20 Apr 2015 16:36:10 +0000 (18:36 +0200)]
Adwaita: simplify entries.

By drawing the background w/o using 3 inset shadows, same or better effect,
cleaner and simpler scss, possibly better rendering performances.

10 years agoImprove the docs for gdk_window_set_opaque_region
Matthias Clasen [Sat, 18 Apr 2015 16:54:45 +0000 (12:54 -0400)]
Improve the docs for gdk_window_set_opaque_region

Fix several typos and annotate the region parameter
as allow-none.

10 years agowayland: Don't unset the selected mimetype on drop_reply
Carlos Garnacho [Sat, 18 Apr 2015 16:02:50 +0000 (18:02 +0200)]
wayland: Don't unset the selected mimetype on drop_reply

gdk_wayland_drop_context_set_status() can't do much else currently besides
picking a mimetype (the first one is currently chosen). This may incorrectly
unset the mimetype chosen on .receive(), so the transfer is cancelled before
it even starts.

At the time drop_reply happens, we should have already picked a mimetype
along the way, so only cover for accepted=FALSE in order to unset it.

10 years agowayland: Plug leak
Carlos Garnacho [Tue, 7 Apr 2015 14:58:01 +0000 (16:58 +0200)]
wayland: Plug leak

We leak refs on the dest window if it gets set multiple times, expected to
happen as the DnD operation moves across the window.

10 years agowayland: Create internal GdkWindow to be set as the DnD source
Carlos Garnacho [Tue, 7 Apr 2015 14:23:38 +0000 (16:23 +0200)]
wayland: Create internal GdkWindow to be set as the DnD source

During drag operations from another client, we currently set no window as
the DnD source. There's paths in upper layers though that rely on it being
set, just that we don't trigger these yet.

10 years agoGtkMessageDialog: Minor documentation update
Michael Catanzaro [Fri, 17 Apr 2015 15:10:58 +0000 (10:10 -0500)]
GtkMessageDialog: Minor documentation update

Icons went away in 3.12

https://bugzilla.gnome.org/show_bug.cgi?id=748061

10 years agogdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout
Federico Mena Quintero [Fri, 17 Apr 2015 16:16:07 +0000 (11:16 -0500)]
gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout

So that lazy people like me can see in the header file which new functions to use.

10 years agoGtkRange: fix horizontal scrolling
Lars Uebernickel [Wed, 15 Apr 2015 13:27:04 +0000 (15:27 +0200)]
GtkRange: fix horizontal scrolling

https://bugzilla.gnome.org/show_bug.cgi?id=737175

10 years agoAdwaita: scrollbar contrast bump
Lapo Calamandrei [Fri, 17 Apr 2015 13:33:04 +0000 (15:33 +0200)]
Adwaita: scrollbar contrast bump

10 years agobuild/Makfile-newvs.am: Use Pattern Rules
Chun-wei Fan [Fri, 17 Apr 2015 05:59:28 +0000 (13:59 +0800)]
build/Makfile-newvs.am: Use Pattern Rules

Make use of pattern rules when generating the Visual Studio 2012/2013
Projects from the Visual Studio 2010 projects, which will help to clean up
the file and also avoid problems when running items like 'make -jN dist'.

10 years agoW32: Support horizontal mouse wheel scrolling
Руслан Ижбулатов [Thu, 16 Apr 2015 23:11:14 +0000 (23:11 +0000)]
W32: Support horizontal mouse wheel scrolling

https://bugzilla.gnome.org/show_bug.cgi?id=748014

10 years agogdk-win32: Clean Up A Bit
Chun-wei Fan [Wed, 15 Apr 2015 09:17:06 +0000 (17:17 +0800)]
gdk-win32: Clean Up A Bit

As GLib dropped Windows 2000 support some time ago [1][2], and the current
git master already depends on a GLib release that is well after it dropped
Windows 2000 support, clean up the code a bit as we are assured that the
code will run on XP and later, plus, we have dropped XP support during
this cycle with commit b85f0cc.

https://bugzilla.gnome.org/show_bug.cgi?id=741849

[1]: https://git.gnome.org/browse/glib/commit/?id=80c24d36f2525d83e458ebbdf62fdbd085945a02
[2]: https://git.gnome.org/browse/glib/commit/?id=731b46990896665a8107535080bb075a6e18b6f7

10 years agoRevert "gdk-win32: Clean Up A Bit"
Chun-wei Fan [Fri, 17 Apr 2015 03:29:07 +0000 (11:29 +0800)]
Revert "gdk-win32: Clean Up A Bit"

This reverts commit 24d3f3fcb2894df110a17317260b8705d68d22ec.

Sorry, I am going to re-commit this very shortly with a new
commit message, as I found the commit message to be quite
wrong and misleading.

10 years agogdk-win32: Really Implement GdkScreen->is_composited()
Chun-wei Fan [Wed, 15 Apr 2015 09:44:55 +0000 (17:44 +0800)]
gdk-win32: Really Implement GdkScreen->is_composited()

The current GdkScreen->is_composited() is a stub as we were having Windows
XP being supported, which does not support Desktop Window Manager (DWM),
which is used by Windows for composition.

Windows Vista and later support DWM, and it is always enabled on Windows 8/
Server 2012 and later.

Please note that as we are dropping XP support in this cycle, this is the
commit that would say goodbye to Windows XP support for GTK+-3.x, by
linking directly to dwmapi.dll.  This means, we only check whether we are
on Windows 8 or Server 2012 (or later) to see whether we unconditionally
have composition enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=741849

10 years agogdk-win32: Clean Up A Bit
Chun-wei Fan [Wed, 15 Apr 2015 09:17:06 +0000 (17:17 +0800)]
gdk-win32: Clean Up A Bit

As GLib dropped XP support some time ago [1][2], and the current git master already
depends on a GLib release that is well after it dropped XP support, clean
up the code a bit as we are assured that the code will run on XP and later,
plus, we are dropping XP support during this cycle (i.e. very soon).

https://bugzilla.gnome.org/show_bug.cgi?id=741849

[1]: https://git.gnome.org/browse/glib/commit/?id=80c24d36f2525d83e458ebbdf62fdbd085945a02
[2]: https://git.gnome.org/browse/glib/commit/?id=731b46990896665a8107535080bb075a6e18b6f7

10 years agowindow: fix initial shadow width for maximized/fullscreen windows
Cosimo Cecchi [Mon, 13 Apr 2015 22:31:10 +0000 (15:31 -0700)]
window: fix initial shadow width for maximized/fullscreen windows

To calculate the shadow width, we look at the value of priv->fullscreen
and priv->maximized.
Those fields will have the actual value only after GTK receives back a
window state event though, so they will be wrong in _realize(). Look at
priv->fullscreen_initially and priv->maximize_initially too, to avoid
the size changing right after realize, which would make the window
flicker if maximized at startup.

https://bugzilla.gnome.org/show_bug.cgi?id=747808

10 years agoAdwaita: fix outline radius for dialog-action-area buttons
Sebastian Keller [Thu, 16 Apr 2015 23:07:03 +0000 (01:07 +0200)]
Adwaita: fix outline radius for dialog-action-area buttons

https://bugzilla.gnome.org/show_bug.cgi?id=748013

10 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Thu, 16 Apr 2015 21:05:04 +0000 (21:05 +0000)]
Updated Brazilian Portuguese translation

10 years agoscrolledwindow: Do not round dx/dy to int
Carlos Garnacho [Thu, 16 Apr 2015 20:45:54 +0000 (22:45 +0200)]
scrolledwindow: Do not round dx/dy to int

Libinput will use 0.0f on the "scrolling finished" event, so check for this
instead of rounding (<1 values are sort of frequent on touchpads). This
impedes bug #745315 to resurface after commit d563b943ed3.

10 years agoscrolledwindow: Ensure the animation is cancelled on arriving scroll events
Carlos Garnacho [Thu, 16 Apr 2015 16:40:32 +0000 (18:40 +0200)]
scrolledwindow: Ensure the animation is cancelled on arriving scroll events

When the scrolledwindow receives scroll events, it ensures the timeout to
maybe start the "snap back to edges" animation is reset, but it does nothing
about the animation source. It must be reset just the same, to maybe be
started after the timeout fires up.

10 years agoAdwaita: colorpicker fixes.
Lapo Calamandrei [Thu, 16 Apr 2015 07:57:23 +0000 (09:57 +0200)]
Adwaita: colorpicker fixes.

Added another :not() to fix the first and last swatches in the
first section of colorpicker.
Dodge the artifacts due to stacked anti-aliased rounded corners by
increasing the radius of the base object by 1px.

10 years agoHighContrast: sync color picker changes with Adwaita
Jakub Steiner [Wed, 15 Apr 2015 22:47:40 +0000 (00:47 +0200)]
HighContrast: sync color picker changes with Adwaita

10 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 15 Apr 2015 20:22:07 +0000 (22:22 +0200)]
Updated Slovenian translation

10 years agoAdwaita: clearer comment for colorbutton hack
Lapo Calamandrei [Wed, 15 Apr 2015 19:53:11 +0000 (21:53 +0200)]
Adwaita: clearer comment for colorbutton hack

10 years agoAdwaita: colorpicker and colorbutton fixes.
Lapo Calamandrei [Wed, 15 Apr 2015 19:43:59 +0000 (21:43 +0200)]
Adwaita: colorpicker and colorbutton fixes.

With nasty gross ugly code, no other ways, sorry.

10 years agoAdwaita: GtkPlacesSidebar insensitive items.
Lapo Calamandrei [Wed, 15 Apr 2015 18:20:52 +0000 (20:20 +0200)]
Adwaita: GtkPlacesSidebar insensitive items.

Set the right colors there.

10 years agoHighContrast: don't need to work around ffox
Jakub Steiner [Wed, 15 Apr 2015 12:55:35 +0000 (14:55 +0200)]
HighContrast: don't need to work around ffox

No need for the workaround for ffox 36, works in 37

https://bugzilla.gnome.org/show_bug.cgi?id=747827

10 years agoconfigure: specify that mir backend needs gio-unix
Daniel van Vugt [Wed, 15 Apr 2015 11:19:14 +0000 (13:19 +0200)]
configure: specify that mir backend needs gio-unix

10 years agoFix window button updates in split headers
Matthias Clasen [Tue, 14 Apr 2015 21:05:34 +0000 (17:05 -0400)]
Fix window button updates in split headers

We were only updating window buttons when the headerbar was
a direct child of the window. That is not the case in more
complicated situations, such as the split headers in gedit
or polari. To fix such cases, make the headerbar itself listen
for state changes on its toplevel.

https://bugzilla.gnome.org/show_bug.cgi?id=747805

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 13 Apr 2015 17:31:03 +0000 (19:31 +0200)]
Updated Danish translation

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 13 Apr 2015 17:24:02 +0000 (19:24 +0200)]
Updated Danish translation

10 years agogesturesingle: Ignore motion/updates from unhandled sequences
Carlos Garnacho [Mon, 13 Apr 2015 14:15:11 +0000 (16:15 +0200)]
gesturesingle: Ignore motion/updates from unhandled sequences

This used to do the right thing, practically ignoring those event
if they went all through the event handler, unless this motion event
triggered the cancellation of this gesture from the event handler
of another controllers.

In this case, the controller would be reset, but the motion event
would still go through its handler, setting again
current_button/sequence as the motion event has buttons in its
modifiers. This leaves GtkGestureSingle with inconsistent data
that may interfere with future runs.

https://bugzilla.gnome.org/show_bug.cgi?id=747469

10 years agoscrolledwindow: Show scrollbars on tablet devices
Carlos Garnacho [Mon, 13 Apr 2015 13:29:57 +0000 (15:29 +0200)]
scrolledwindow: Show scrollbars on tablet devices

The code managing scrollbars visibility was too pervasively checking for
mouse devices, leaving pen/eraser/cursor devices with no scrollbars at
all. Relax these checks a bit, and actually toggle full-width scrollbars
on pen/eraser devices, so it is an easier target.

https://bugzilla.gnome.org/show_bug.cgi?id=747608

10 years agoHC: fix selected list-rows
Jakub Steiner [Mon, 13 Apr 2015 15:07:16 +0000 (17:07 +0200)]
HC: fix selected list-rows

https://bugzilla.gnome.org/show_bug.cgi?id=747689

10 years agox11: Relax requirements for setting ParentRelative
Evangelos Foutras [Sat, 11 Apr 2015 08:20:56 +0000 (11:20 +0300)]
x11: Relax requirements for setting ParentRelative

XSetWindowBackgroundPixmap() will throw BadMatch only in the case of a
different parent window depth. Different visuals are fine and actually
expected in Gtk+ 3.16 (since we don't stick to the system default visual
but try to pick a better one).

https://bugzilla.gnome.org/show_bug.cgi?id=747524

10 years agoplug: Remove size_allocate handler
Carlos Garnacho [Thu, 9 Apr 2015 12:09:42 +0000 (14:09 +0200)]
plug: Remove size_allocate handler

Since windows can be intermediate containers this is somewhat redundant,
plus gtk_window_size_allocate() will do additional things like allocating
the popovers, which was mistakenly skipped by local plugs not chaining up.

https://bugzilla.gnome.org/show_bug.cgi?id=747553

10 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 12 Apr 2015 19:18:45 +0000 (21:18 +0200)]
Updated Slovenian translation

10 years agoUpdate Arabic translation
Khaled Hosny [Sat, 11 Apr 2015 23:54:18 +0000 (01:54 +0200)]
Update Arabic translation

10 years agoUpdate Arabic translation
Khaled Hosny [Sat, 11 Apr 2015 23:39:53 +0000 (01:39 +0200)]
Update Arabic translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Sat, 11 Apr 2015 21:47:26 +0000 (00:47 +0300)]
Updated Hebrew translation

10 years agoUpdated Swedish translation
Anders Jonsson [Sat, 11 Apr 2015 20:54:09 +0000 (20:54 +0000)]
Updated Swedish translation

10 years agoUpdated Swedish translation
Anders Jonsson [Sat, 11 Apr 2015 20:51:26 +0000 (20:51 +0000)]
Updated Swedish translation

10 years agoResolve redefinition of typedef GtkCssNode
William Hua [Thu, 9 Apr 2015 13:28:30 +0000 (09:28 -0400)]
Resolve redefinition of typedef GtkCssNode

This causes a build failure under Mac OS because GtkCssNode is defined
in both gtk/gtkcssnodeprivate.h and gtk/gtkcsstypesprivate.h.

https://bugzilla.gnome.org/show_bug.cgi?id=747560

10 years agoRemove no longer needed in-tree editing
Matthias Clasen [Fri, 10 Apr 2015 01:03:13 +0000 (21:03 -0400)]
Remove no longer needed in-tree editing

10 years agoUse a popover for creating new folders
Matthias Clasen [Fri, 10 Apr 2015 00:56:54 +0000 (20:56 -0400)]
Use a popover for creating new folders

10 years agoHighContrast: fix scrollbar slider 'padding'
Jakub Steiner [Fri, 10 Apr 2015 18:19:42 +0000 (20:19 +0200)]
HighContrast: fix scrollbar slider 'padding'

10 years agoHighContrast: insensitive backdrop list rows have a border
Jakub Steiner [Fri, 10 Apr 2015 13:13:12 +0000 (15:13 +0200)]
HighContrast: insensitive backdrop list rows have a border

https://bugzilla.gnome.org/show_bug.cgi?id=747288

10 years agoAdwaita: reset .list-row.button props more aggressively...
Lapo Calamandrei [Fri, 10 Apr 2015 14:39:35 +0000 (16:39 +0200)]
Adwaita: reset .list-row.button props more aggressively...

...otherwise we run into problem with `.button` inherited style
properties, see https://bugzilla.gnome.org/show_bug.cgi?id=747288
which applies to Adwaita as well.

10 years agoa11y: Only emit signals when cells change; not upon creation
Joanmarie Diggs [Thu, 9 Apr 2015 00:08:25 +0000 (20:08 -0400)]
a11y: Only emit signals when cells change; not upon creation

This is a workaround for atspi-atk behaviour.

atspi-atk uses signal emission hooks. So it to already catches
signal emissions on creation of objects, before anyone could even
think of g_signal_connect()ing.

https://bugzilla.gnome.org/show_bug.cgi?id=746706

10 years agonotebook: prevent tab closebutton :hover to change metric
Jakub Steiner [Fri, 10 Apr 2015 14:27:40 +0000 (16:27 +0200)]
notebook: prevent tab closebutton :hover to change metric

10 years agoGtkApplication: Prevent more crashes around shutdown
Matthias Clasen [Fri, 10 Apr 2015 12:03:24 +0000 (08:03 -0400)]
GtkApplication: Prevent more crashes around shutdown

gtk_application_shutdown clears the impl member, so all
callbacks, signal handlers, etc that might still be triggered
between a shutdown call and the return from the mainloop
better be prepared to deal with impl being NULL.

10 years agogtk/inspector/css-node-tree.c: Fix Build
Chun-wei Fan [Fri, 10 Apr 2015 07:48:59 +0000 (15:48 +0800)]
gtk/inspector/css-node-tree.c: Fix Build

strcasecmp() is unfortunately not universally available, along with
strings.h.  Fix the build by replacing strcasecmp() with
g_ascii_strcasecmp(), and remove the strings.h include.

https://bugzilla.gnome.org/show_bug.cgi?id=747604

10 years agoVisual Studio Builds: Fix Header "Installation"
Chun-wei Fan [Fri, 10 Apr 2015 08:19:49 +0000 (16:19 +0800)]
Visual Studio Builds: Fix Header "Installation"

gtksidebar.h was renamed as gtkstacksidebar.h, so fix that in the header
"installation".

10 years agopopover: Remove signal handlers in dispose
Matthias Clasen [Thu, 9 Apr 2015 00:20:38 +0000 (20:20 -0400)]
popover: Remove signal handlers in dispose

If we don't, they may get triggered at an inopportune
time later, causing us to crash.

See
https://bugzilla.redhat.com/show_bug.cgi?id=1203499

https://bugzilla.gnome.org/show_bug.cgi?id=747539

10 years agowayland: Wait for output and seat information
Matthias Clasen [Thu, 9 Apr 2015 04:14:20 +0000 (00:14 -0400)]
wayland: Wait for output and seat information

When we open the connection, we get the wl_output object,
but we return before all the information such as monitor
geometry has arrived, which causes us to misinform early
users of this information. Do a roundtrip here that causes
us to wait until the information is complete. Do the same
for seats, just in case.
https://bugzilla.gnome.org/show_bug.cgi?id=747471

10 years agowayland: Add more debug output
Matthias Clasen [Thu, 9 Apr 2015 04:13:37 +0000 (00:13 -0400)]
wayland: Add more debug output

10 years agoMake gtk-update-icon-cache not fall over leftover temp files
Matthias Clasen [Thu, 9 Apr 2015 00:30:26 +0000 (20:30 -0400)]
Make gtk-update-icon-cache not fall over leftover temp files

This is a followup to 0fd185fa6de2a89c11b4a28. There is no
good reason to only try again if --force is passed. Do it
always.

See
https://bugzilla.redhat.com/show_bug.cgi?id=1194957

10 years agotree view: Avoid a crash with rubberbanding
Matthias Clasen [Wed, 8 Apr 2015 22:54:45 +0000 (18:54 -0400)]
tree view: Avoid a crash with rubberbanding

When a treeview is destroyed while rubberbanding is going
on, we crash because the rb tree is nuked before we want
to access it to stop the rubberbanding. To avoid this crash
end the rubberbanding early in destroy().

See
https://bugzilla.redhat.com/show_bug.cgi?id=1173904

10 years agoGtkApplication: avoid a crash
Matthias Clasen [Wed, 8 Apr 2015 19:44:21 +0000 (15:44 -0400)]
GtkApplication: avoid a crash

It can apparently happen that we get focus in events
on windows after gtk_application_shutdown() has been
called. Avoid an unnecessary crash in this case.

See
https://bugzilla.redhat.com/show_bug.cgi?id=1176339

10 years agoRevert "image: Optimize non-resize changes"
Matthias Clasen [Wed, 8 Apr 2015 18:13:20 +0000 (14:13 -0400)]
Revert "image: Optimize non-resize changes"

This reverts commit bae97a4c6bcb1c82d4a5f296c3d428173e31c6e4.

We're still seeing regressions from there, see
http://bugzilla.redhat.com/show_bug.cgi?id=1208183

10 years agotestgtk: Respect display cursor size limitations
Matthias Clasen [Tue, 7 Apr 2015 22:39:10 +0000 (18:39 -0400)]
testgtk: Respect display cursor size limitations

Instead of hardcoding 64, ask the display about the
maximal supported cursor size.

11 years agomir: Fix build failure due to changed API
William Hua [Tue, 7 Apr 2015 14:33:35 +0000 (10:33 -0400)]
mir: Fix build failure due to changed API

mir_surface_set_event_handler() now takes three arguments.

11 years agoFix indicator proximity checks
Matthias Clasen [Tue, 7 Apr 2015 01:27:17 +0000 (21:27 -0400)]
Fix indicator proximity checks

The coordinate translations here were not working properly
for window widgets inside the scrolled window, as can be
seen e.g. for the horizontal scrollbar of the 'Tree View'
example in gtk3-demo.

https://bugzilla.gnome.org/show_bug.cgi?id=747406

11 years agoMake indicators pop out when needed
Matthias Clasen [Mon, 6 Apr 2015 13:16:03 +0000 (09:16 -0400)]
Make indicators pop out when needed

When moving over a non-expanded indicator from the outside, we were
not expanding it, due to on_scrollbar being true. This can be seen
e.g. when moving from the content pane over to the sidebar indicator
in gtk3-demo. We must still ensure that the indicator is expanded
when receiving motion events over the indicator.

https://bugzilla.gnome.org/show_bug.cgi?id=747407

11 years agoUpdated breton translation
Denis Arnaud [Mon, 6 Apr 2015 13:00:01 +0000 (15:00 +0200)]
Updated breton translation

11 years agodocs: Note the side effects of GtkLabel setters
Emmanuele Bassi [Sat, 4 Apr 2015 12:54:34 +0000 (13:54 +0100)]
docs: Note the side effects of GtkLabel setters

The gtk_label_set_text() and gtk_label_set_markup() functions have
various side effects that ought to be documented, especially for
non-C developers using properties directly.

https://bugzilla.gnome.org/show_bug.cgi?id=747121

11 years agofile chooser: Ensure a folder is loaded when browsing
Matthias Clasen [Mon, 6 Apr 2015 02:27:23 +0000 (22:27 -0400)]
file chooser: Ensure a folder is loaded when browsing

Just showing an empty list when the user hits Ctrl-l in
recent files is not very useful. Load the home directory
instead.

11 years agofile chooser: Open location entry more easily
Matthias Clasen [Mon, 6 Apr 2015 02:12:46 +0000 (22:12 -0400)]
file chooser: Open location entry more easily

Show the location entry also when alphanumerics are typed
into the list.

11 years agotestfilechooser: Improve filter setup
Matthias Clasen [Mon, 6 Apr 2015 02:09:22 +0000 (22:09 -0400)]
testfilechooser: Improve filter setup

It is not ideal when the default filter filters away
all files, so change things to select the 'all files'
filter by default.

11 years agoFormatting fix
Matthias Clasen [Mon, 6 Apr 2015 02:09:04 +0000 (22:09 -0400)]
Formatting fix

11 years agoFormatting fix
Matthias Clasen [Mon, 6 Apr 2015 02:07:59 +0000 (22:07 -0400)]
Formatting fix

11 years agotestgtk: Set initial cursor
Matthias Clasen [Sun, 5 Apr 2015 23:10:39 +0000 (19:10 -0400)]
testgtk: Set initial cursor

Arrange for the entry and the cursor area to both start out
with the arrow cursor.

11 years agotestgtk: Redo the cursor example
Matthias Clasen [Sun, 5 Apr 2015 23:00:44 +0000 (19:00 -0400)]
testgtk: Redo the cursor example

Use cursor names instead of font cursors, so we can also show
cursors that are not represented in the X cursor font and thus
don't have a value in the GdkCursorType enumeration.

11 years agowayland: Don't mix free and g_strdup
Matthias Clasen [Sun, 5 Apr 2015 22:59:51 +0000 (18:59 -0400)]
wayland: Don't mix free and g_strdup

While it works most of the time, this is technically
not correct.

11 years agotestgtk: Update cursor theme on size change
Matthias Clasen [Sun, 5 Apr 2015 17:28:26 +0000 (13:28 -0400)]
testgtk: Update cursor theme on size change

We were connecting to the wrong signal, so we were not picking
up all changes to the spin button value.

11 years agoGtkListBox: Make model binding introspectable
Matthias Clasen [Sun, 5 Apr 2015 12:13:24 +0000 (08:13 -0400)]
GtkListBox: Make model binding introspectable

Introspection can't deal with bare pointers, so annotate
the callback as taking objects. This is the outcome of
discussion in
https://bugzilla.gnome.org/show_bug.cgi?id=746893

11 years agogtktextbuffer: small cleanup in clipboard handling
Paolo Borelli [Sun, 29 Mar 2015 10:22:42 +0000 (12:22 +0200)]
gtktextbuffer: small cleanup in clipboard handling

Make code shorter and also more efficient since we move the
selection check out of the loop

https://bugzilla.gnome.org/show_bug.cgi?id=747096

11 years agox11/gl: Fix use after free
Olivier Fourdan [Fri, 3 Apr 2015 15:51:57 +0000 (17:51 +0200)]
x11/gl: Fix use after free

https://bugzilla.gnome.org/show_bug.cgi?id=747305

Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
11 years agoAdwaita: stronger entry focus indication
Lapo Calamandrei [Thu, 2 Apr 2015 16:49:33 +0000 (18:49 +0200)]
Adwaita: stronger entry focus indication

See https://bugzilla.gnome.org/show_bug.cgi?id=746202 for details.

11 years agoUpdated Slovak translation
Dušan Kazik [Thu, 2 Apr 2015 08:57:09 +0000 (08:57 +0000)]
Updated Slovak translation